/* GitBook网站样式 */
.book-summary {
    background: #fafafa;
}

.book-summary ul.summary li a {
    color: #333;
    padding: 8px 15px;
}

.book-summary ul.summary li.active > a {
    color: #008cff;
    background: #f0f8ff;
    border-right: 3px solid #008cff;
}

/* 代码块样式 */
pre {
    background: #f8f8f8;
    border: 1px solid #e1e1e8;
    border-radius: 4px;
    padding: 16px;
    overflow-x: auto;
}

code {
    background: #f3f4f4;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

/* 表格样式 */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
}

table th,
table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

/* 提示框样式 */
.alert {
    padding: 15px;
    margin: 20px 0;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}